<?php
session_start();
require_once '../coneccion.php';

$id = $_REQUEST["id"];
$sql= "select * from tipo_cambio where id_cambio=$id";

$rs = mysql_query($sql) or die(mysql_error());
$totalReg = 0;
$totalReg = mysql_num_rows($rs);
 ?> 
<table  id="tabla_tipo_cambio">
    <thead style="">
        <tr>
                <th width="200px">Editar</th>
                <th width="50px"><img class="close_vent_act_mon" src="../img/close.jpg" /></th>
              
            </tr>
        
        
    </thead>
    <tbody>
<?php
    while($fila	=	mysql_fetch_assoc($rs)){
     ?> 
    <tr>
        <td width="150">descripcion</td>
        <td width="100">
            <?php echo $fila["descripcion"] ?>
            
        </td>
    </tr>
 
    <tr>
        <td width="150">cambio</td>
        <td width="100">
            <input type="text" style="text-align: center" id="cambio_mon" width="40px" height="" name="" value="<?php echo $fila["cambio"] ?>" />
            <input type="hidden" id="id_tipo_cambio" name="" value="<?php echo $fila["id_cambio"] ?>" />
        </td>
    </tr>
    
    <tr>
        <td width="100">&nbsp;</td>
        <td width="150">
            <img id="click_act_mon" src="../img/save.jpg" />
            <img class="close_vent_act_mon" src="../img/cancel.jpg" />
        </td>
    </tr>
  <?php  }
?>
    </tbody>
</table>